package com.jeeplus.cms.common;

/**
 * 全局常量
 *
 * @author Sawyer
 * @date 2020-12-02
 */
public interface CmsConstant {

    int DEFAULT_PAGE_SIZE = 10;

    /**
     * 默认友情链接数
     */
    int DEFAULT_LINK_COUNT = 20;

    /**
     * 推荐数量
     */
    String THEME_PARAM_RECOMMEND_COUNT_KEY = "recomCount";

    int THEME_PARAM_RECOMMEND_COUNT_VAL = DEFAULT_PAGE_SIZE;


    /**
     * 关键词数量
     */
    String THEME_PARAM_CONTENTS_KEYWORD_COUNT_KEY = "contentsKeywordCount";

    int THEME_PARAM_CONTENTS_KEYWORD_COUNT_VAL = DEFAULT_PAGE_SIZE;

    /**
     * 热点内容数量
     */
    String THEME_PARAM_HOT_CONTENTS_COUNT_KEY = "hotContentsCount";

    int THEME_PARAM_HOT_CONTENTS_COUNT_VAL = DEFAULT_PAGE_SIZE;

    /**
     * 首页显示内容数
     */
    String THEME_PARAM_COL_SHOW_COUNT_KEY = "colShowCount";

    int THEME_PARAM_COL_SHOW_COUNT_VAL = DEFAULT_PAGE_SIZE;


    /**
     * 首页轮播数
     */
    String THEME_PARAM_CAROUSEL_COUNT_KEY = "carouselCount";

    int THEME_PARAM_CAROUSEL_COUNT_VAL = DEFAULT_PAGE_SIZE;

    /**
     * 分页显示数量
     */
    String THEME_PARAM_PAGE_SIZE_KEY = "pageSize";

    int THEME_PARAM_PAGE_SIZE_VAL = DEFAULT_PAGE_SIZE;

    int THEME_PARAM_NO_PAGE_SIZE_VAL = 100;


    /**
     *
     */
    String THEME_PARAM_GUESTBOOK_COUNT_KEY = "guestbookSize";

    int THEME_PARAM_GUESTBOOK_COUNT_VAL = DEFAULT_PAGE_SIZE;

    /**
     * 上传文件基础虚拟路径
     */
    String USERFILES_BASE_URL = "/userfiles/";

    /**
     * 是/否
     */
    String YES = "1";
    String NO = "0";
}
